import java.util.Random;
import java.util.Scanner;

public class Guess_Game {
    public static void main(String[] args) {
        Random ranom=new Random();
        int r= ranom.nextInt(100);
        Scanner scan=new Scanner(System.in);

        while(true){
            System.out.println("请输入：");
            int s=scan.nextInt();
            if(r>s){
                System.out.println("猜小了");
            }else if(r<s){
                System.out.println("猜大了");
                }else{
                System.out.println("猜对了");
                break;
            }


        }
    }
}
